package com.rivulet.doj_backend.pojo;
public class UserAchievement {
    private Integer id;
    private Integer compleQuestion_number;
    private Integer collectQuestion_number;
    private Integer completeTask_number;
    private Integer competition_number;
    private String username;
    private float answerAccuracy_number;

    public UserAchievement() {
    }

    public UserAchievement(Integer id, Integer compleQuestion_number, Integer collectQuestion_number, Integer completeTask_number, Integer competition_number, String username, float answerAccuracy_number) {
        this.id = id;
        this.compleQuestion_number = compleQuestion_number;
        this.collectQuestion_number = collectQuestion_number;
        this.completeTask_number = completeTask_number;
        this.competition_number = competition_number;
        this.username = username;
        this.answerAccuracy_number = answerAccuracy_number;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCompleQuestion_number() {
        return compleQuestion_number;
    }

    public void setCompleQuestion_number(Integer compleQuestion_number) {
        this.compleQuestion_number = compleQuestion_number;
    }

    public Integer getCollectQuestion_number() {
        return collectQuestion_number;
    }

    public void setCollectQuestion_number(Integer collectQuestion_number) {
        this.collectQuestion_number = collectQuestion_number;
    }

    public Integer getCompleteTask_number() {
        return completeTask_number;
    }

    public void setCompleteTask_number(Integer completeTask_number) {
        this.completeTask_number = completeTask_number;
    }

    public Integer getCompetition_number() {
        return competition_number;
    }

    public void setCompetition_number(Integer competition_number) {
        this.competition_number = competition_number;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public float getAnswerAccuracy_number() {
        return answerAccuracy_number;
    }

    public void setAnswerAccuracy_number(float answerAccuracy_number) {
        this.answerAccuracy_number = answerAccuracy_number;
    }

    @Override
    public String toString() {
        return "UserAchievement{" +
                "id=" + id +
                ", compleQuestion_number=" + compleQuestion_number +
                ", collectQuestion_number=" + collectQuestion_number +
                ", completeTask_number=" + completeTask_number +
                ", competition_number=" + competition_number +
                ", username='" + username + '\'' +
                ", answerAccuracy_number=" + answerAccuracy_number +
                '}';
    }
}
